<script setup lang='ts'>
import {ref} from 'vue'

withDefaults(defineProps<{
  options?: { label:string, value:string | number | boolean | object,disabled?:boolean,[key:string]:any}[]
}>(),{options:[] as any})

const bindValue=ref()

</script>

<template>
  <el-select  v-bind="$attrs" v-model="bindValue">
      <el-option
        v-for="item in options"
        :key="item.value"
        :label="item.label"
        :value="item.value"
        :disabled="item.disabled"
      />
    </el-select>
</template>

<style scoped>

</style>